const config = {
  plugins: {
    "@tailwindcss/postcss": {
      config: "./tailwind.config.ts",
    },
    autoprefixer: {
      overrideBrowserslist: ["> 0.25%", "iOS >= 9", "Android >= 5"],
    },
    "postcss-preset-env": {
      browsers: "last 2 versions, ie >= 11",
      stage: 2,
      autoprefixer: { grid: true }, // 自动加 -ms-grid- 等前缀
    },
    cssnano: { preset: "default" },
  },
};

export default config;
